import request from '@/utils/request'
import qs from 'qs';
import { getToken } from "@/utils/auth";


//获取用户信息接口
export function getUserInfo(data) {
  console.log('data', data);
  return request({
    url: '/ajax/index/getUserInfo',
    method: 'post',
    data: qs.stringify(data)
  })
}

//修改用户信息接口
export function modifyUserInfo(data) {
  return request({
    url: '/ajax/index/modifyUserInfo',
    method: 'post',
    data: qs.stringify(data)
  })
}



